/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#include "test_element_type.h"


#include <element_type.h>
#include <QtTest/QtTest>
void TestElementType::toElementTypeTest() {
   ElementType elementType1("message","jabber:client");
   ElementType elementType2("message","jabber:client");

   QVERIFY(qHash(elementType1)==qHash(elementType2));
   QVERIFY(elementType1==elementType2);
}
//QTEST_MAIN(TestElementType);
